#pragma once

#include <QObject>
#include "question/question.h"

class QuestionFactory : public QObject
{
    Q_OBJECT
public:
    explicit QuestionFactory(QObject *parent = nullptr);

    static Question* createQuestion(const QJsonObject &json, QObject *parent = nullptr);
};
